crypto/tls.serverHandshakeState.cert (field)
10 uses
crypto/tls (current package)
handshake_server.go#L39: cert *Certificate
handshake_server.go#L262: hs.cert, err = c.config.getCertificate(clientHelloInfo(hs.ctx, c, hs.clientHello))
handshake_server.go#L272: hs.hello.scts = hs.cert.SignedCertificateTimestamps
handshake_server.go#L286: if priv, ok := hs.cert.PrivateKey.(crypto.Signer); ok {
handshake_server.go#L299: if priv, ok := hs.cert.PrivateKey.(crypto.Decrypter); ok {
handshake_server.go#L578: if hs.clientHello.ocspStapling && len(hs.cert.OCSPStaple) > 0 {
handshake_server.go#L599: certMsg.certificates = hs.cert.Certificate
handshake_server.go#L606: certStatus.response = hs.cert.OCSPStaple
handshake_server.go#L613: skx, err := keyAgreement.generateServerKeyExchange(c.config, hs.cert, hs.clientHello, hs.hello)
handshake_server.go#L706: preMasterSecret, err := keyAgreement.processClientKeyExchange(c.config, hs.cert, ckx, c.vers)